package com.conv.shop.business.domain;

public class Address {
    private Integer addressId;

    private Integer consumerId;

    private String recipientName;

    private String ecipientPhoneNumber;

    private String province;

    private String city;

    private String district;

    private String detailedAddress;

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Integer getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Integer consumerId) {
        this.consumerId = consumerId;
    }

    public String getRecipientName() {
        return recipientName;
    }

    public void setRecipientName(String recipientName) {
        this.recipientName = recipientName;
    }

    public String getEcipientPhoneNumber() {
        return ecipientPhoneNumber;
    }

    public void setEcipientPhoneNumber(String ecipientPhoneNumber) {
        this.ecipientPhoneNumber = ecipientPhoneNumber;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", addressId=").append(addressId);
        sb.append(", consumerId=").append(consumerId);
        sb.append(", recipientName=").append(recipientName);
        sb.append(", ecipientPhoneNumber=").append(ecipientPhoneNumber);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", district=").append(district);
        sb.append(", detailedAddress=").append(detailedAddress);
        sb.append("]");
        return sb.toString();
    }
}